package com.siki.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.siki.pojo.model.DepartmentInformation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * @Author Siki
 * @Date 2020/3/19
 */
@Mapper
@Repository
public interface DepartmentInformationMapper extends BaseMapper<DepartmentInformation> {
    List<DepartmentInformation> queryDepartment(List<Long> id);

    int insertListDepartment(List<DepartmentInformation> departmentInformations);

    int updateDepartmentList(List<DepartmentInformation> departmentInformations);
}
